package com.qidian.mespro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Process;
import com.qidianit.mes.pojo.Result;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public interface ProcessService {
    Result<PageInfo<com.qidianit.mes.pojo.Process>> ProcessList(Process process, int pageNum, int pageSize);

    Result<Process> addProcess(Process process);

    Result<Process> selectProcessByCode(String code);

    Result updateProcessById(Process process);

    Result deleteProcessById(Long id);

    Result batchDelete(Long[] ids);
}
